<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Adorners="clr-namespace:Bookvar.UI.Adorners"
    >
    <SolidColorBrush x:Key="ForegroundColorBrush" Color="#FF15428B" />
    <SolidColorBrush x:Key="NormalBorderBrush" Color="#9ebcd7" />
    <SolidColorBrush x:Key="LightBorderBrush" Color="#C0A776"/>
    <SolidColorBrush x:Key="PlusLightBorderBrush" Color="#8B7654"/>
    <SolidColorBrush x:Key="GlyphBrush" Color="#567db1" />
    <SolidColorBrush x:Key="ControlsBackGroundBrush" Color="White"/>

    <LinearGradientBrush x:Key="NormalBackGroundBrush" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Color="#dce0ed" Offset="0"/>
        <GradientStop Color="#a8c3e0" Offset="0.4"/>
        <GradientStop Color="#d3e4f3" Offset="1"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="NormalHorizontalBackGroundBrush" StartPoint="0,0.5" EndPoint="1,0.5">
        <GradientStop Color="#dce0ed" Offset="0"/>
        <GradientStop Color="#a8c3e0" Offset="0.4"/>
        <GradientStop Color="#d3e4f3" Offset="1"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="LightBackGroundBrush" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Offset="0"    Color="#FFFFFDDE" />
        <GradientStop Offset="0.4"  Color="#FFFFE795" />
        <GradientStop Offset="0.4"  Color="#FFF6CF57" />
        <GradientStop Offset="1"    Color="#FFFFE9A4" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="PlusLightBackGroundBrush" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Offset="0"    Color="#FFB1905D" />
        <GradientStop Offset="0.1"  Color="#FFF9BE6B" />
        <GradientStop Offset="0.4"  Color="#FFFEAE62" />
        <GradientStop Offset="0.4"  Color="#FFFD983F" />
        <GradientStop Offset="1"    Color="#FFFFD086" />
    </LinearGradientBrush>

    <!-- Disabled Color -->

    <LinearGradientBrush x:Key="ListBackground" EndPoint="0.486,0.72" StartPoint="0.486,-0.002">
        <GradientStop Color="#FFA0C0E7" Offset="0"/>
        <GradientStop Color="#FFFFFFFF" Offset="1"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="DisableBackGroundBrush" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Color="#d5d5d5"></GradientStop>
        <GradientStop Color="#e7e8e9"></GradientStop>
    </LinearGradientBrush>

    <SolidColorBrush x:Key="DisabledBorderBrush"      Color="#b3b2b2"/>
    <SolidColorBrush x:Key="DisabledForegroundBrush"  Color="#cccccc"/>

    <Style x:Key="ButtonFocusVisualStyle">
        <Setter Property="Control.Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border
			CornerRadius="2.5"
			BorderBrush="#F6CF57"
			BorderThickness="2"
						/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <SolidColorBrush x:Key="ResizeGripDarkBrush" Color="#FF455D80" />
    <SolidColorBrush x:Key="ResizeGripLightBrush" Color="#FFB1C9E8" />

    <Style x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type Adorners:ResizingAdorner},ResourceId=ResizeThumb}" TargetType="Thumb">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Grid SnapsToDevicePixels="True">
                        <Grid.Background>
                            <LinearGradientBrush EndPoint="0.172,0.178" StartPoint="1.322,1.299">
                                <GradientStop Color="#FF90B6EA" Offset="0"/>
                                <GradientStop Color="#0090B6EA" Offset="1"/>
                            </LinearGradientBrush>
                        </Grid.Background>
                        <Path HorizontalAlignment="Right" VerticalAlignment="Bottom"
							Margin="0,0,2,2" Data="M 8,0 L 11,0 L 11,11 L 0,11 L 0,8 L 3,8 L 4,4 L 8,4 L 8,0 z">
                            <Path.Fill>
                                <DrawingBrush Viewbox="0,0,4,4" Viewport="0,0,4,4" TileMode="Tile"
									ViewportUnits="Absolute" ViewboxUnits="Absolute">
                                    <DrawingBrush.Drawing>
                                        <DrawingGroup>
                                            <GeometryDrawing Brush="{StaticResource ResizeGripLightBrush}"
												Geometry="M 1,1 L 3,1 L 3,3 L 1,3 z "/>
                                            <GeometryDrawing Brush="{StaticResource ResizeGripDarkBrush}"
												Geometry="M 0,0 L 2,0 L 2,2 L 0,2 z "/>
                                        </DrawingGroup>
                                    </DrawingBrush.Drawing>
                                </DrawingBrush>
                            </Path.Fill>
                        </Path>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>